package com.gelpag.business.exception;

import entity.Const;

public class VueException extends RuntimeException {

    private String error_code = Const.RESULT_0;
    private String error_msg = "系统异常!";
    private String token = "";

    public VueException(String error_code, String error_msg, String token) {
        this.error_code = error_code;
        this.error_msg = error_msg;
        this.token = token;
    }

    public String getError_code() {
        return error_code;
    }

    public void setError_code(String error_code) {
        this.error_code = error_code;
    }

    public String getError_msg() {
        return error_msg;
    }

    public void setError_msg(String error_msg) {
        this.error_msg = error_msg;
    }

    public String getToken() {
        return token;
    }

    public void setToken(String token) {
        this.token = token;
    }
}
